<template>
	<view>贷款申请</view>
	<view>{{ targetBank }}</view>
</template>

<script>
import { findById } from '@/api/bankApi.js';
export default {
	data() {
		return {
			targetBank: {}
		};
	},
	methods: {},
	async onLoad(query) {
		console.log(query);
		let id = query.id;
		const res = await findById(id);
		this.targetBank = res;
	}
};
</script>

<style></style>
